package com.qf.co.Dao;

import com.qf.co.pojo.User;

/**
 * @author hanjiejie
 * @version V1.0
 * @Project java2203
 * @Package com.qf.co.Dao
 * @Description:
 * @Date 2022/5/27 13:58
 */
public interface UserDao {

    /**
     * 注册
     * @param user
     * @return
     */
    int AddUser(User user);

    /**
     * 登录查询是否有该用户
     * @param username
     * @return
     */
    User findByUserName(String username);
}
